package cn.tedu.submarine;

import java.io.Serializable;

/**
 * 主机同步给从机的游戏信息
 */
public class SyncInfo implements Serializable {
    public Battleship ship = new Battleship();
    public SeaObject[] submarines = {};
    public Mine[] mines = {};
    public Bomb[] bombs = {};

    public Battleship ship_2p;
    public Bomb[] bombs_2p = {};
    public int state;
    public int score;

    public SyncInfo(Battleship ship, SeaObject[] submarines, Mine[] mines, Bomb[] bombs, Battleship ship_2p, Bomb[] bombs_2p,int state,int score) {
        this.ship = ship;
        this.submarines = submarines;
        this.mines = mines;
        this.bombs = bombs;
        this.ship_2p = ship_2p;
        this.bombs_2p = bombs_2p;
        this.state = state;
        this.score = score;
    }


}
